
using Util;
namespace DTO
{
    /// <summary>
    /// 
    /// </summary>
    public class PassRuleOutput
    {
        public string Id { get; set; }=string.Empty;
        /// <summary>
        /// 通行规则名称
        /// </summary>
        public string RuleName { get; set; } = string.Empty;
        /// <summary>
        /// 通行规则版本号
        /// </summary>
        public string Version { get; set; } = string.Empty;
        /// <summary>
        /// 按周区分的通行规则
        /// </summary>
        public List<Weekday> Weekday { get; set; } = new List<Weekday>();
        /// <summary>
        /// 可通行时间段
        /// </summary>
        public List<StartAndEnd> Passable { get; set; } = null;
        /// <summary>
        /// 不可通行时间段
        /// </summary>
        public List<ImpassableInfo> Impassable { get; set; } = null;
        /// <summary>
        /// 
        /// </summary>
        public bool Del { get; set; }
        public bool Enter { get; set; }
        public bool Default { get; set; }
    }
}